<script>
	export default {
		onLaunch: function() {
			console.log('App Launch', this)
			if(!this.$store.state.vuex_token) {
				uni.navigateTo({
					url: '/pages/login/login'
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	// 组件库公共样式
	@import "uview-ui/index.scss";
	// 自定义公共样式
	@import "common/custom.scss";
	/*每个页面公共css */
</style>
